<?php 
 
namespace app\common\model;

use app\common\model\BaseModel;
use app\common\traits\ModelTrait;
use app\common\utils\JsonService;
/**
* This is the model class for table "{ptf_area_region}".
*
* @property int $shipping_area_id 物流配置id 
* @property int $shop_id 店铺ID 
* @property int $region_id 地区id对应region表id 
*/
class AreaRegion extends BaseModel{

    protected $pk = 'shipping_area_id';
    protected $name = 'area_region';

    use ModelTrait;
    protected $autoWriteTimestamp = true;
    //protected $dateFormat = 'Y-m-d';
    //protected $createTime = 'create_time';
    //protected $updateTime = 'update_time';

    /**
    * {@inheritdoc}
    */
    public function attributeLabels()
    {
        return [
            'shipping_area_id' => '物流配置id',
            'shop_id' => '店铺ID',
            'region_id' => '地区id对应region表id',
        ];
    }

}


?>